Skip to content

Conversation

blockchainluffy
Copy link
Contributor

closes #620

@blockchainluffy blockchainluffy self-assigned this Aug 5, 2025
@blockchainluffy blockchainluffy marked this pull request as draft August 5, 2025 09:14
Copy link
Contributor

@jannikluhn jannikluhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two changes (signatures on keys messages and current decryption trigger check) seem unrelated, I think they should be done in separate PRs (or at least separate commits).

@@ -177,48 +177,6 @@ func validateSignerIndices(extra *p2pmsg.ShutterServiceDecryptionKeysExtra, n in
return pubsub.ValidationAccept, nil
}

func ValidateDecryptionKeysSignatures(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's a bit safer to still validate the signatures as normal if they are there, but allow for messages that have empty signer indices and signatures. We probably don't want to allow for invalid signatures in messages.

@blockchainluffy blockchainluffy force-pushed the test/allow-keys-msg-no-sig branch from 260eccb to d4c3a50 Compare August 7, 2025 06:28
@blockchainluffy blockchainluffy marked this pull request as ready for review August 7, 2025 06:35
@blockchainluffy blockchainluffy merged commit 94d52a9 into main Aug 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow keys message with no signature and remove current decryption trigger validation
2 participants